define(function () {
  function $id(id) {
    return document.getElementById(id
    );
  }

  function $on(dom, eventName, callback) {
    dom.addEventListener(eventName, callback);
  }

  return {
    $id,
    $on
  };
});